<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>

<html>
	<head>
		<title>Might Vs Magic</title>
		<link rel="stylesheet" type="text/css" href="./css/main.css" />
		<style>
		a {color: white}
		</style>
	</head>

	<body>
		<center><img src="./img/logo.jpg" width="80%"></center>
		<div id="content">
			<center>
			<div class="error"><s:actionerror/></div>
			<s:form action="login"  method="post">
			    <s:textfield label="Login" name="username"/>
			    <s:password label="Hasło" name="password" />
			    <s:submit value="Zaloguj"/>
			</s:form>
			Nie masz konta? <a href="<s:url action='registerPage.action'/>">Zarejestruj się!</a><br/>
			Zapomniałeś hasła? <a href="<s:url action='regeneratePasswordPage.action'/>">Kliknij tutaj</a>
			</center>
		</div> 
	</body>
</html>
